package com.web.service;

import javax.xml.ws.Endpoint;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/4/16 16:53
 * <p>
 * 发布web service的测试类
 */
public class ServerTest {
    public static void main(String[] args) {
        String address = "http://localhost:9001/soap/hello";
        Endpoint.publish(address, new HelloWS2Impl());
        System.out.println("web service published...");
    }
}
